package com.banmoon.builder;

import com.banmoon.builder.house.House;

public class Director {

    private HouseBuilder builder;

    public Director(HouseBuilder builder) {
        this.builder = builder;
    }

    public House construct() {
        return builder.buildSubgrade()
                .buildWall()
                .buildRoof()
                .build();
    }

}
